文件处理方法、计算机可读存储介质及电子设备
Published in 发明专利 Invention patent, 2022
Recommended citation: Dayao Ji. (2022). "File processing method, computer-readable storage medium and electronic device." China patent. CN115455374A. https://patents.google.com/patent/CN115455374A
文件处理方法、计算机可读存储介质及电子设备
摘要:本申请提供文件处理方法、计算机可读存储介质及电子设备,该方法包括:针对源文件创建空的第一保护文件;构建文件头部结构,所述文件头部结构包括将要对所述源文件执行的处理规则;根据所述文件头部结构对所述源文件进行处理,并且基于处理后的所述源文件和所述第二保护文件来形成第三保护文件。本申请由于不对整个源文件进行加密,在实现对源文件进行保护的同时降低了对计算资源的需求,特别是对部署于计算资源受限的端设备来说,提高了源文件在推理前解保护的速度。本申请的方法适用于对AI模型、各应用文档进行保护,对软硬件环境和场景不做限制,通用性强。
File processing method, computer-readable storage medium and electronic device
Abstract:The application provides a file processing method, a computer readable storage medium and an electronic device, wherein the method comprises the following steps: creating an empty first protection file for the source file; building a file header structure comprising processing rules to be performed on the source file; processing the source file according to the file header structure, and forming a third guard file based on the processed source file and the second guard file. According to the method and the device, the whole source file is not encrypted, so that the source file is protected, meanwhile, the requirement on computing resources is reduced, and particularly, for the device which is deployed at the end with limited computing resources, the speed of source file protection solution before reasoning is improved. The method is suitable for protecting the AI model and each application document, does not limit the software and hardware environment and scenes, and has strong universality.
Recommended citation:
纪大峣. 文件处理方法、计算机可读存储介质及电子设备[P]. 中国:CN115455374A,2022-12-09.
D. Ji,”File processing method, computer-readable storage medium and electronic device,” China Patent CN115455374A, December 09,2022.
